//
//  XHTopicModel.h
//  BSNoAnswer
//
//  Created by Tiffany宝 on 16/5/15.
//  Copyright © 2016年 Tiffany. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface XHTopicModel : NSObject

@property (nonatomic,copy) NSString *name;
@property (nonatomic,copy) NSString *profile_image;
@property (nonatomic,copy) NSString *create_time;
@property (nonatomic,assign) NSInteger ding;
@property (nonatomic,assign) NSInteger cai;
@property (nonatomic,assign) NSInteger repost;
@property (nonatomic,assign) NSInteger comment;
@property (nonatomic,copy) NSString *text;

@property (nonatomic,assign) CGFloat height;
@property (nonatomic,assign) CGFloat width;

/** cell所对应的高度 */
@property (nonatomic,assign,readonly) CGFloat cellHeight;

/** 小图 */
@property (nonatomic,copy) NSString *smallImage;
/** 大图 */
@property (nonatomic,copy) NSString *largeImage;
/** 中图 */
@property (nonatomic,copy) NSString *bmiddleImage;
/** 播放次数 */
@property (nonatomic,assign) NSInteger playcount;
/** 音频时长 */
@property (nonatomic,assign) NSInteger voicetime;
/** 音频播放地址 */
@property (nonatomic,copy) NSString *voiceuri;
/** 视频时长 */
@property (nonatomic,assign) NSInteger videotime;
/** 视频播放地址 */
@property (nonatomic,copy) NSString *videouri;

/** 帖子的类型 */
@property (nonatomic,assign) XHTopicViewType type;

/** 其他辅助属性  */
/** picView的frame */
@property (nonatomic,assign) CGRect picViewFrame;
/** voiceView的frame */
@property (nonatomic,assign) CGRect voiceViewFrame;
/** videoView的frame */
@property (nonatomic,assign) CGRect videoViewFrame;
/** 是否大图 */
@property (nonatomic,assign,getter=isBigImage) BOOL bigImage;


@end







